package com.example.entity.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

@Data
@ApiModel("故障信息响应vo")
@Accessors(chain = true)
public class CenterConfigInfoVo {

    private Integer uuid;

    @ApiModelProperty("A:白班  B:夜班")
    private String duty;

    @ApiModelProperty("工作中心id")
    private String workCenterId;

    @ApiModelProperty("工作中心名称")
    private String workCenterName;

    @ApiModelProperty("绑定类型\n" +
            "workbench -> 以精确到机台为准\n" +
            "workCenter -> 以工作中心为准\n" +
            "district -> 以预设的片区为准")
    private String decisionType;

    @ApiModelProperty("片区ID")
    private String districtId;

    @ApiModelProperty("片区名称")
    private String districtName;

    @ApiModelProperty("创建人Id")
    private String creator;

    @ApiModelProperty("创建时间")
    private String creatorTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("机台信息")
    List<Map<String,String>> workbenchInfo;

    @ApiModelProperty("机台ID")
    private String workbenchId;

    @ApiModelProperty("故障类型")
    private String faultType;

    @ApiModelProperty("处理人员列表")
    private List<CenterWorkLeaderInfoVo> workLeader;

    @ApiModelProperty("状态 0 -> 关闭 1 -> 启用 2 ->删除")
    private String status;

    @ApiModelProperty("机台ID List")
    @JsonIgnore
    private List<String> workbenchIds;

    @ApiModelProperty("机台名称")
    @JsonIgnore
    private String workbenchName;
}
